package com.ruoyi.system.service.award.competition.impl;

import java.util.List;

import com.ruoyi.system.domain.award.competition.CompetitionAwardTeamMembers;
import com.ruoyi.system.mapper.award.competition.CompetitionAwardTeamMembersMapper;
import com.ruoyi.system.service.award.competition.ICompetitionAwardTeamMembersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * 竞赛获奖作品项目成员子Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-07-28
 */
@Service
public class CompetitionAwardTeamMembersServiceImpl implements ICompetitionAwardTeamMembersService
{
    @Autowired
    private CompetitionAwardTeamMembersMapper competitionAwardTeamMembersMapper;

    /**
     * 查询竞赛获奖作品项目成员子
     * 
     * @param id 竞赛获奖作品项目成员子主键
     * @return 竞赛获奖作品项目成员子
     */
    @Override
    public CompetitionAwardTeamMembers selectCompetitionAwardTeamMembersById(Long id)
    {
        return competitionAwardTeamMembersMapper.selectCompetitionAwardTeamMembersById(id);
    }

    /**
     * 查询竞赛获奖作品项目成员子列表
     * 
     * @param competitionAwardTeamMembers 竞赛获奖作品项目成员子
     * @return 竞赛获奖作品项目成员子
     */
    @Override
    public List<CompetitionAwardTeamMembers> selectCompetitionAwardTeamMembersList(CompetitionAwardTeamMembers competitionAwardTeamMembers)
    {
        return competitionAwardTeamMembersMapper.selectCompetitionAwardTeamMembersList(competitionAwardTeamMembers);
    }

    /**
     * 新增竞赛获奖作品项目成员子
     * 
     * @param competitionAwardTeamMembers 竞赛获奖作品项目成员子
     * @return 结果
     */
    @Override
    public int insertCompetitionAwardTeamMembers(CompetitionAwardTeamMembers competitionAwardTeamMembers)
    {
        return competitionAwardTeamMembersMapper.insertCompetitionAwardTeamMembers(competitionAwardTeamMembers);
    }

    /**
     * 修改竞赛获奖作品项目成员子
     * 
     * @param competitionAwardTeamMembers 竞赛获奖作品项目成员子
     * @return 结果
     */
    @Override
    public int updateCompetitionAwardTeamMembers(CompetitionAwardTeamMembers competitionAwardTeamMembers)
    {
        return competitionAwardTeamMembersMapper.updateCompetitionAwardTeamMembers(competitionAwardTeamMembers);
    }

    /**
     * 批量删除竞赛获奖作品项目成员子
     * 
     * @param ids 需要删除的竞赛获奖作品项目成员子主键
     * @return 结果
     */
    @Override
    public int deleteCompetitionAwardTeamMembersByIds(Long[] ids)
    {
        return competitionAwardTeamMembersMapper.deleteCompetitionAwardTeamMembersByIds(ids);
    }

    /**
     * 删除竞赛获奖作品项目成员子信息
     * 
     * @param id 竞赛获奖作品项目成员子主键
     * @return 结果
     */
    @Override
    public int deleteCompetitionAwardTeamMembersById(Long id)
    {
        return competitionAwardTeamMembersMapper.deleteCompetitionAwardTeamMembersById(id);
    }
}
